package com.example.roadeyeserver.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.roadeyeserver.entity.OdCustomDayFlow;
import com.example.roadeyeserver.entity.report.BusTrunkFlowReport;
import com.example.roadeyeserver.entity.report.CityProvinceReport;
import com.example.roadeyeserver.entity.request.CityProvinceStatisticRequest;
import com.example.roadeyeserver.entity.request.CommonRequest;
import com.example.roadeyeserver.result.Result;

import java.util.List;

public interface OdCustomDayFlowService extends IService<OdCustomDayFlow> {

    /**
     * 获取市外省内客货流量
     * @param request
     * @return
     */
    Result<List<BusTrunkFlowReport>> getBusTrunkFlowReport(CityProvinceStatisticRequest request);

    /**
     * 获取市外省内客货流量
     * @param request
     * @return
     */
    Result<List<CityProvinceReport>> getCityProvinceReport(CityProvinceStatisticRequest request);

    /**
     * 获取流量排行
     * @param request
     * @return
     */
    Result<List<BusTrunkFlowReport>> getBusTrunkFlowRank(CityProvinceStatisticRequest request);

    /**
     * 获取市内区县流量
     * @param request
     * @return
     */
    Result<List<BusTrunkFlowReport>> getCountyReport(CityProvinceStatisticRequest request);

}
